import React from "react";
import { createFromIconfontCN } from '@ant-design/icons';

const Icons = createFromIconfontCN({
  scriptUrl: '/iconfont/iconfont.js', // 在 iconfont.cn 上生成
});

export default function MyIcon(type) {
  return <Icons type={type} />
}
